package com.heima.entity;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class AdminUser {

    private String createBy = "admin";
    private LocalDateTime createTime = LocalDateTime.now();
    private String updateBy = null;
    private LocalDateTime updateTime = null;
    private Integer userId = 1;
    private Integer deptId = 103;
    private String userName = "admin";
    private String nickName = "admin";
    private String email = "admin@163.com";
    private String phonenumber = "15888888888";
    private String sex = "1";
    private String avatar = "";
    private String salt = null;
    private String status = "0";
    private String delFlag = "0";
    private String loginIp = "127.0.0.1";
    private LocalDateTime loginDate = LocalDateTime.now();
    private AdminDept dept;
    private List<AdminRoles> roles;
    private List<Integer> roleIds = null;
    private boolean admin = true;
    
}
